package com.security.antitheft.service;

import android.app.admin.DeviceAdminReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class DeviceAdminPmsReceiver extends DeviceAdminReceiver{
	
    @Override
    public void onEnabled(Context context, Intent intent) {
    	Toast.makeText(context, "admin_receiver_status_enabled", Toast.LENGTH_SHORT).show();
    }

    @Override
    public CharSequence onDisableRequested(Context context, Intent intent) {
        return "admin_receiver_status_disable_warning";
    }

    @Override
    public void onDisabled(Context context, Intent intent) {
    	Toast.makeText(context, "admin_receiver_status_disabled", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void onPasswordChanged(Context context, Intent intent) {
    	Toast.makeText(context, "admin_receiver_status_pw_changed", Toast.LENGTH_SHORT).show();
    }
}
